package engine.event
{
	import flash.events.Event;
	
	public class SceneEvent extends Event
	{
		public static const FirstEnterScene:String			=	"onFirstEnterScene";			
		public static const SceneLoaded:String				=	"onSceneLoaded";		
//		public static const CastleSceneLoaded:String			=	"onCastleSceneLoaded";
//		public static const InstanceScene:String				=	"onInstanceSceneLoaded";
		public static const CastleEntrySceneLoaded:String	=	"onCastleEntrySceneLoaded";
		
		//战斗场景
		public static const AttackSceneLoaded:String			=	"onAttackSceneLoaded";
		public static const AttackSceneObjectsLoaded:String	=	"onAttackSceneObjectsLoaded";
		
		public static const FriendClick:String		=	"onFriendClick";
		public static const PlayerClick:String		=	"onPlayerClick";
		
		public static const AddObj:String				=	"onAddObj";
		public static const HideObj:String			=	"onHideObj";		
		
		public static const RemoveObj:String			=	"onRemoveObj";		
		
		public static const EnterCalste:String		=	"onEnterCalste";
		
		// 传送
		public static const SceneTransfer:String		=	"onSceneTransfer";
		
		// 城堡改变时代
		public static const CastleChangeEra:String	=	"onCastleChangeEra";
		
		/**场景中的角色加载完成***/
		public static const onLoadRoleComplete:String = 	"onLoadRoleComplete";
		
		public var data:Array;
		
		public function SceneEvent(type:String, pData:Array,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			data =	pData;
		}
	}
}